package com.jiyun.mapper;

import com.github.pagehelper.PageInfo;
import com.jiyun.pojo.Room;
import com.jiyun.pojo.Student;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface StudentMapper extends Mapper<Student> {
    List<Student> findList(Student student);
    PageInfo<Student> findList2(Integer pageNum, Integer pageSize, Student student);
    List<Room> findRoomList();
    void add(Student student);
    Student findById(Integer sid);
    void update(Student student);
}
